package com.lvshi0797.cms.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="f_project")
public class FProjectInfo implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	/**
	 * 项目名
	 */
	private String peojectName;
	/**
	 * 享受项目、受益项目、获赠项目
	 */
	private String item;
	/**
	 * 奖补金额、享受金额、金额、享受贴息金额、受益金额
	 */
	private double money;
	/**
	 * 贷款金额
	 */
	private double debtMoney;
	/**
	 * 享受年度，年份,2015年度只存2015
	 */
	private String addYear;
	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}
	@Column(length=20)
	public String getPeojectName() {
		return peojectName;
	}
	@Column(length=20)
	public String getItem() {
		return item;
	}
	public double getMoney() {
		return money;
	}
	public double getDebtMoney() {
		return debtMoney;
	}
	@Column(length=12) 
	public String getAddYear() {
		return addYear;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setPeojectName(String peojectName) {
		this.peojectName = peojectName;
	}
	public void setItem(String item) {
		this.item = item;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public void setDebtMoney(double debtMoney) {
		this.debtMoney = debtMoney;
	}
	public void setAddYear(String addYear) {
		this.addYear = addYear;
	}
	public FProjectInfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	public FProjectInfo(int id, String peojectName, String item, double money,
			double debtMoney, String addYear) {
		super();
		this.id = id;
		this.peojectName = peojectName;
		this.item = item;
		this.money = money;
		this.debtMoney = debtMoney;
		this.addYear = addYear;
	}
	
	
	
	
	
 
}
